package com.gec.test;

import org.activiti.engine.ProcessEngine;
import org.activiti.spring.ProcessEngineFactoryBean;
import org.activiti.spring.SpringProcessEngineConfiguration;

public class ActivitiTestBean {

    public ActivitiTestBean() {
        System.out.println("+--------------ActivitiTestBean---------------+");
        System.out.println("{ActivitiTestBean}整合测试 [OK]");
        System.out.println("+-------------------------------------+");
    }

    SpringProcessEngineConfiguration p1;

    {
//		p1.setDataSource( 数据源 );
//		p1.setTransactionManager( 事务管理器 );
//      p1.setDatabaseSchemaUpdate( "false" );
//		p1.setJobExecutorActivate( false );
//		p1.setHistory("full");
//		p1.setActivityFontName("宋体");
//		p1.setLabelFontName("宋体")
    }

    //负责造出ProcessEngine引擎
    ProcessEngineFactoryBean p2;

    //org.activiti.spring.ProcessEngineFactoryBean
    {
        //p2.setProcessEngineConfiguration(配置器);
        ProcessEngine engine;
    }

}
